package com.duck.base.response;

import java.io.Serializable;

public class BaseResponse<T> implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 响应状态码 200成功
	 */
	private String status = "200";
	
	/**
	 * 响应消息，如错误消息
	 */
	private String message = "处理成功";
	
	/**
	 * 接口响应数据
	 */
	private T data;

	public String getStatus() {
		return status;
	}

	public String getMessage() {
		return message;
	}

	public T getData() {
		return data;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setData(T data) {
		this.data = data;
	}
}
